const go/types.constant_
55 uses
go/types (current package)
api.go#L343: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L26: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L114: if x.mode != constant_ {
builtins.go#L164: if x.mode == constant_ {
builtins.go#L165: mode = constant_
builtins.go#L179: mode = constant_
builtins.go#L228: if check.Types != nil && mode != constant_ {
builtins.go#L291: if x.mode == constant_ && y.mode == constant_ {
builtins.go#L339: if x.mode == constant_ && y.mode == constant_ {
builtins.go#L345: if check.Types != nil && x.mode != constant_ {
builtins.go#L425: if x.mode == constant_ {
builtins.go#L471: if x.mode == constant_ {
builtins.go#L481: if check.Types != nil && x.mode != constant_ {
builtins.go#L642: x.mode = constant_
builtins.go#L706: x.mode = constant_
builtins.go#L725: x.mode = constant_
builtins.go#L760: if x.mode != constant_ || !isBoolean(x.typ) {
call.go#L163: if x.mode != invalid && x.mode != constant_ {
call.go#L497: x.mode = constant_
check.go#L413: case constant_:
check.go#L450: if mode == constant_ {
conversions.go#L17: constArg := x.mode == constant_
conversions.go#L106: } else if x.mode == constant_ && isInteger(x.typ) && allString(T) {
expr.go#L91: assert(x.mode == constant_)
expr.go#L205: if x.mode == constant_ {
expr.go#L433: assert(x.mode == constant_)
expr.go#L653: if x.mode == constant_ {
expr.go#L809: if x.mode == constant_ && y.mode == constant_ {
expr.go#L900: if x.mode == constant_ {
expr.go#L919: if y.mode == constant_ {
expr.go#L961: if x.mode == constant_ {
expr.go#L962: if y.mode == constant_ {
expr.go#L1143: if (x.mode == constant_ || allInteger(x.typ)) && y.mode == constant_ && constant.Sign(y.val) == 0 {
expr.go#L1150: if x.mode == constant_ && y.mode == constant_ && isComplex(x.typ) {
expr.go#L1161: if x.mode == constant_ && y.mode == constant_ {
expr.go#L1483: if x.mode == constant_ {
index.go#L57: if x.mode == constant_ {
index.go#L236: if x.mode == constant_ {
index.go#L357: if x.mode != constant_ {
index.go#L393: if x.mode == constant_ {
operand.go#L24: constant_ // operand is a constant; the operand's typ is a Basic type
operand.go#L38: constant_: "constant",
operand.go#L123: case constant_:
operand.go#L155: if x.mode == constant_ {
operand.go#L218: x.mode = constant_
stmt.go#L255: if v.mode != constant_ {
stmt.go#L602: x.mode = constant_
typexpr.go#L96: x.mode = constant_
typexpr.go#L516: if x.mode != constant_ {